<?php
class MsepCore_Installer extends Engine_Package_Installer_Module {
	
	function onInstall() {
		if ($this->getOperation ()->getPackage ()->getName () != 'msep-core') {
			$db = $this->getDb ();
			
			$db->update ( 'engine4_core_modules', array ('enabled' => 1 ), array ('name = ?' => 'msep-core' ) );
		}
		
		parent::onInstall ();
	}

}
?>